package com.jic.purchase.mapper;
import com.jic.purchase.model.entity.SupplierInformation;
import com.jic.purchase.model.vo.request.SupplierInformationRequest;
import com.jic.purchase.model.vo.response.SupplierInformationResponse;

import java.util.List;
public interface SupplierInformationMapper {
	/**
	 * SUPPLIER_INFORMATION插入数据
	 * @param supplierInformation 入参实体类
	 */
	int insert(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION插入数据
	 * @param supplierInformation 入参实体类
	 */
	int insertSelective(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION根据表对象数据修改数据
	 * @param supplierInformation 入参实体类
	 */
	int updateByPrimaryKey(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION根据表对象数据修改数据
	 * @param supplierInformation 入参实体类
	 */
	int updateByPrimaryKeySelective(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION根据id删除数据
	 * @param supplierInformation 入参实体类
	 */
	int deleteByPrimaryKey(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION根据主键查询数据
	 * @param supplierInformation 入参实体类
	 */
	SupplierInformation selectByPrimaryKey(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION根据主键查询数据
	 * @param supplierInformation 入参实体类
	 */
	List<SupplierInformation> listPageBySelective(SupplierInformation supplierInformation);

	Long listPageBySelectiveCount(SupplierInformation supplierInformation);

	/**
	 * SUPPLIER_INFORMATION查询数据
	 * @param supplierInformation 入参实体类
	 */
	List<SupplierInformation>  selectBySelective(SupplierInformation supplierInformation);

	//自定义查询供应商列表
	List<SupplierInformation> querySupplierInfoList(SupplierInformationRequest request);

	List<SupplierInformationResponse> querySupplierListPage(SupplierInformation supplierInformation);
}
